tegra: usb: fix wrong error check
authorLucas Stach <[email protected]>
Thu, 31 May 2012 01:51:02 +0000 (01:51 +0000)
committerAlbert ARIBAUD (U-Boot) <uboot@lilith.(none)>
Mon, 9 Jul 2012 20:44:33 +0000 (22:44 +0200)
commitf857fff6068fe36a327a0ff6d837412caaf2e07d
treed01bd5eca9be48764df866f8ff8f86fa58a9d618
parentf97daaa2317b68aacfbf19bb7566183e17db3349
tegra: usb: fix wrong error check

loop_count runs down from 10000, so the correct condition to error out
is ==0.

Signed-off-by: Lucas Stach <[email protected]>
Acked-by: Stephen Warren <[email protected]>
CC: Stephen Warren <[email protected]>
CC: Tom Warren <[email protected]>
Tested-by: Stephen Warren <[email protected]>
Signed-off-by: Tom Warren <[email protected]>
arch/arm/cpu/armv7/tegra2/usb.c